﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Registration.aspx.vb" Inherits="Client.Registration" MasterPageFile="~/Site.Master" %>


<asp:Content id="myContent" runat="server" ContentPlaceHolderID="ContentPlaceHolder">
    <div class="style2">
    
        <span class="style2">Registration Page<br />
        <br />
        </span>
        <table class="style3">
            <tr>
                <td class="style4">
                    Gebruikersnaam</td>
                <td class="style5">
                    <asp:TextBox ID="TxtUserNaam" runat="server" MaxLength="15" Width="180px"></asp:TextBox>
                </td>
                <td class="style8">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="TxtUserNaam" CssClass="style6" 
                        ErrorMessage="*Verplicht veld" ForeColor="Red">*Verplicht veld</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    Paswoord</td>
                <td class="style5">
                    <asp:TextBox ID="txtPaswoord" runat="server" MaxLength="15" TextMode="Password" 
                        Width="180px"></asp:TextBox>
                </td>
                <td class="style8">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtPaswoord" CssClass="style6" 
                        ErrorMessage="RequiredFieldValidator" ForeColor="Red">*Verplicht veld</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    Paswoord Confirm</td>
                <td class="style5">
                    <asp:TextBox ID="txtRePaswoord" runat="server" MaxLength="15" 
                        TextMode="Password" Width="180px"></asp:TextBox>
                </td>
                <td class="style8">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtRePaswoord" CssClass="style6" 
                        ErrorMessage="RequiredFieldValidator" ForeColor="Red">*Verplicht veld</asp:RequiredFieldValidator>
                    <br />
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="txtPaswoord" ControlToValidate="txtRePaswoord" 
                        ErrorMessage="*Paswoorden komen niet overeen" ForeColor="Red" 
                        style="font-size: small"></asp:CompareValidator>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    Travian Spelersnaam</td>
                <td class="style5">
                    <asp:TextBox ID="txtTravNaam" runat="server" MaxLength="15" Width="180px"></asp:TextBox>
                </td>
                <td class="style8">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                        ControlToValidate="txtTravNaam" ErrorMessage="*Verplicht veld" ForeColor="Red" 
                        style="font-size: small"></asp:RequiredFieldValidator>
                    <br />
                    <asp:Label ID="lblTravNameExists" runat="server" ForeColor="Red" 
                        style="font-size: small" Text="*Spelersnaam reeds geregistreerd" 
                        Visible="False"></asp:Label>
                    <br />
                    <asp:Label ID="lblTravNameNotFound" runat="server" ForeColor="Red" 
                        style="font-size: small" Text="*Niet gevonden in DB" Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    Emailadres</td>
                <td class="style5">
                    <asp:TextBox ID="txtEmail" runat="server" MaxLength="50" Width="180px"></asp:TextBox>
                </td>
                <td class="style8">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="txtEmail" CssClass="style6" 
                        ErrorMessage="RequiredFieldValidator" ForeColor="Red">*Verplicht veld</asp:RequiredFieldValidator>
                    <br />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="txtEmail" ErrorMessage="*Geen geldig e-mailadres" 
                        ForeColor="Red" style="font-size: small" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    Volledige Naam</td>
                <td class="style5">
                    <asp:TextBox ID="txtVolNaam" runat="server" MaxLength="50" Width="180px"></asp:TextBox>
                </td>
                <td class="style8">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ControlToValidate="txtVolNaam" ErrorMessage="*Verplicht veld" ForeColor="Red" 
                        style="font-size: small"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    Land</td>
                <td class="style5">
                    <asp:DropDownList ID="DropListLanden" runat="server" Width="180px">
                        <asp:ListItem Selected="True">Kies een land</asp:ListItem>
                        <asp:ListItem>België</asp:ListItem>
                        <asp:ListItem>Nederland</asp:ListItem>
                        <asp:ListItem>Other</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td class="style8">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ControlToValidate="DropListLanden" CssClass="style6" 
                        ErrorMessage="RequiredFieldValidator" ForeColor="Red" 
                        InitialValue="Kies een land">*Verplicht veld</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    &nbsp;</td>
                <td class="style5">
                    <asp:Button ID="btnRegistreer" runat="server" Text="Registreer" />
&nbsp;
                    <input id="Reset1" type="reset" value="Wis Alle Velden" /></td>
                <td class="style7">
                    &nbsp;</td>
            </tr>
        </table>
        <br />
    
    </div>
</asp:Content>
<asp:Content ID="Content1" runat="server" contentplaceholderid="head">
    <style type="text/css">
        .style2
        {
            font-size: x-large;
            text-align: center;
            font-family: Arial;
        }
        .style3
        {
            width: 100%;
        }
        .style4
        {
            font-size: small;
            text-align: right;
            width: 230px;
        }
        .style5
        {
            width: 307px;
        }
        .style6
        {
            font-size: small;
        }
        .style7
        {
            width: 374px;
        }
        .style8
        {
            width: 374px;
            text-align: left;
        }
    </style>
</asp:Content>
